package com.lagou.testFastjson;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.AllArgsConstructor;
import lombok.Data;

/**
 * @description:
 * @author: zhuxiang
 * @create: 2020-07-24 16:51
 **/
@Data
@AllArgsConstructor
public class Person {
    @JSONField(name = "USERNAME",ordinal = 1)
    private String username;
    @JSONField(name = "AGE",ordinal = 2)
    private int age;
    @JSONField(name = "BIRTHDAY",ordinal = 3)
    private String birthday;
}
